package com.lrkj.property.domain;

import java.math.BigDecimal;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 管理区对象 tm_manage_area
 *
 * @author yajun_ren
 * @date 2021-07-28
 */
public class ManageArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理区id */
    private String areaId;

    /** 代码 */
    @Excel(name = "代码")
    private String areaCode;

    /** 名称 */
    @Excel(name = "名称")
    private String areaName;

    /** 所属单元 */
    @Excel(name = "所属单元")
    private String unitId;

    /** $column.columnComment */
    @Excel(name = "管理楼栋")
    private String floorId;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    /** 占地面积 */
    @Excel(name = "占地面积")
    private BigDecimal takeGraph;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private BigDecimal coveredGraph;

    /** 使用面积 */
    @Excel(name = "使用面积")
    private BigDecimal useGraph;

    /** 管理人 */
    @Excel(name = "管理人")
    private String userId;

    /** 说明 */
    @Excel(name = "说明")
    private String explains;

    //所属物业
    private String deptName;

    //管理人
    private String nickName;

    //管理楼栋
    private String floorName;

    /** 祖级ID */
    private String ancestors;

    /** 所属小区 */
    @Excel(name = "所属小区")
    private String communityId;

    private String communityName;

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }


    public String getFloorName() {
        return floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }

    public String getFloorId() {
        return floorId;
    }

    public void setFloorId(String floorId) {
        this.floorId = floorId;
    }



    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setAreaId(String areaId)
    {
        this.areaId = areaId;
    }

    public String getAreaId()
    {
        return areaId;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setUnitId(String unitId)
    {
        this.unitId = unitId;
    }

    public String getUnitId()
    {
        return unitId;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setTakeGraph(BigDecimal takeGraph)
    {
        this.takeGraph = takeGraph;
    }

    public BigDecimal getTakeGraph()
    {
        return takeGraph;
    }
    public void setCoveredGraph(BigDecimal coveredGraph)
    {
        this.coveredGraph = coveredGraph;
    }

    public BigDecimal getCoveredGraph()
    {
        return coveredGraph;
    }
    public void setUseGraph(BigDecimal useGraph)
    {
        this.useGraph = useGraph;
    }

    public BigDecimal getUseGraph()
    {
        return useGraph;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setExplains(String explains)
    {
        this.explains = explains;
    }

    public String getExplains()
    {
        return explains;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("unitId", getUnitId())
            .append("deptId", getDeptId())
            .append("takeGraph", getTakeGraph())
            .append("coveredGraph", getCoveredGraph())
            .append("useGraph", getUseGraph())
            .append("userId", getUserId())
            .append("explains", getExplains())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
